package com.xyd.Biz;

import com.xyd.Entity.OrderForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: OrderFormBiz
 * @Description:
 * @Author 余全盛
 * @Date: 2021/10/15 17:03
 */
public interface OrderFormBiz {
    int addSonOrder(int com_id, @Param("num") int num, Double price, double sonordersum, long fatherorderid);

    List<OrderForm> selectSonOrder(long fatherOrderid);

    List<OrderForm> selectAllSonOrder();
    int updateSonOrderState(int state,int sonorderid);
    int updateSonOrderStateByFatherOrderID(int state, long fatherorderid);
}
